require("./model/sync");

const Mock = require("mockjs");

const result = Mock.mock({
  "datas|50-80": [{
    name: "@cname",
    account: /uuid_[a-z]{4}_[0-9]{4}/,
    password: "123123",
    "user_right|0-4": true,
    tel: /1[3-8]{2}\d{8}/,
  }]
}).datas;

const User = require("./model/User");
User.bulkCreate(result);